/*
 * legotasks.h
 *
 *  Created on: May 7, 2010
 *      Author: Armen Nazarian
 */

#ifndef LEGOTASKS_H_
#define LEGOTASKS_H_

void init_tasks(OS_EVENT *sem_first_belt,OS_EVENT *sem_sort, INT8U flag_first_belt,
		INT8U flag_second_belt, INT8U buffer_value);
void sim_brick(void *p_arg);
void first_belt_run(void *p_arg);
void rotate_unto_next(void *p_arg);
void second_belt(void *p_arg);
void touch_sensor_reader(void *p_arg);
void run_sorter(void *p_arg);

#endif /* LEGOTASKS_H_ */
